<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>frameset</title>
    <script src="/before/js/jquery.min.1.8.2.js" type="text/javascript"></script>
    <script src="/after/js/layer/layer.js" charset="utf-8"></script>
</head>
<body>
<div id="page1"></div>
<iframe src="LLxuanxiang.html" style="float: left;" frameborder="0" width="18%" height="700px;">
</iframe>
<iframe src="LLUser_Address.html" scrolling="auto" width="80%" height="100%;"  name="main" style="padding-top: 30px;" frameborder="0"></iframe>
<div id="page2" style="position: relative;top:50px;"></div>
<div id="page3"></div>
</body>
<script>

    var getUser = function() {
        $.ajax({
            url : "/address/getUser.do",
            type : "POST",
            dataType : "json",
            success : function(msg) {
                console.log(msg)
                if(msg.hashMap.user==null){
                    top.location.href="HJHStageLogin.ftl";
                }
            }
        });
    }
    getUser();

    $("#page1").load("/czgIndexTop/getBtype.do");
    $("#page2").load("/stage/Czg_index_foot.ftl");
    $("#page3").load("/stage/LQ_right.ftl");
    //  显示客服聊天界面
    function showTalk(){
        layer.open({
            type:2,
            title:'客服聊天',
            fix:'false',
            maxmin:true,
            area:['800px','700px'],
            content:'/main/skipToTalk.do',
            end:function(){
            }
        })
    }
</script>
</html>


